package cn.iocoder.yudao.module.picturebook.controller.admin.book.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 书籍信息 Response VO")
@Data
@ExcelIgnoreUnannotated
public class BookRespVO {

    @Schema(description = "书籍ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1593")
    @ExcelProperty("书籍ID")
    private Long id;

    @Schema(description = "书名", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("书名")
    private String title;

    @Schema(description = "作者")
    @ExcelProperty("作者")
    private String author;

    @Schema(description = "出版社")
    @ExcelProperty("出版社")
    private String publisher;

    @Schema(description = "封面图URL", example = "https://www.iocoder.cn")
    @ExcelProperty("封面图URL")
    private String coverUrl;

    @Schema(description = "语言：1-中文，2-英文", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("语言：1-中文，2-英文")
    private Integer language;

    @Schema(description = "分级（如“牛津树1级”）")
    @ExcelProperty("分级（如“牛津树1级”）")
    private String level;

    @Schema(description = "分类（如“古诗词”“成语绘本”）")
    @ExcelProperty("分类（如“古诗词”“成语绘本”）")
    private String category;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}